<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=393, height=853, initial-scale=1.0user-scalable=no">
    <title>我的页面</title>
    <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
</head>
<body>
    <!-- 顶部标题栏 -->
    <div class="header">
        <h1>我的</h1>
    </div>

    <div class="my-list">
        <div class="my-item">
            <img src="{{ url_for('static', filename='photos/修改密码.png') }}" alt="修改密码">
            <a href="{{ url_for('change_password') }}" class="my-button">修改密码</a>
        </div>
        <div class="my-item">
            <img src="{{ url_for('static', filename='photos/绑定信息.png') }}" alt="绑定信息">
            <a href="{{ url_for('bind_info') }}" class="my-button">绑定信息</a>
        </div>
        <div class="my-item">
            <img src="{{ url_for('static', filename='photos/已有信息.png') }}" alt="已有信息">
            <a href="{{ url_for('existing_info') }}" class="my-button">已有信息</a>
        </div>
        <div class="my-item">
            <img src="{{ url_for('static', filename='photos/退出登录.png') }}" alt="退出登录">
            <a href="{{ url_for('logout') }}" class="my-button">退出登录</a>
        </div>
        <div class="my-item delete-account">
            <form action="{{ url_for('delete_account') }}" method="POST">
                <img src="{{ url_for('static', filename='photos/注销账号.png') }}" alt="注销账号">
                <button type="submit" class="my-button">注销账号</button>
            </form>
        </div>
    </div>

    <!-- 底部导航栏 -->
    <div class="navbar">
        <a href="{{ url_for('home') }}" class="nav-item">
            <img src="{{ url_for('static', filename='photos/首页2.png') }}" alt="首页">
            <p>首页</p>
        </a>
        <a href="{{ url_for('order') }}" class="nav-item active">
            <img src="{{ url_for('static', filename='photos/订单2.png') }}" alt="订单">
            <p>订单</p>
        </a>
        <a href="{{ url_for('my') }}" class="nav-item">
            <img src="{{ url_for('static', filename='photos/我的1.png') }}" alt="我的">
            <p>我的</p>
        </a>
    </div>
</body>
</html>
